ModifyVulTarget
Description
modify the scope of host assets for detecting the specified vulnerability type in the vulnerability management configuration.
Request Method
POST
Request Path
/apsara/route/Sas/ModifyVulTarget
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| Target | BODY | string | No | No sample value for this parameter. | Specify the host asset and describe it in JSON format. For details, see the request example. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Config | BODY | string | No | No sample value for this parameter. | vulnerability classification information, expressed in JSON format. For example,{"vulType":"cve"} indicates Linux software vulnerability classification. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | no demo value | request ID. |
Example
Successful Response example
{
"RequestId":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}